package cn.genmer.test.security.designpatterns.singleton;

/**
 * @program: concurrency_practice
 * @description: 枚举 - 推荐用
 * @author: Genmer
 * @create: 2020-10-21 01:04
 **/
public enum Singleton8 {
  INSTANCE;
//  INSTANCE(1),HELLO(2),WARING(3);
//  private int seq;
//  private Singleton8(int seq){
//    this.seq = seq;
//  }

  public static void main(String[] args) {
    Singleton8 instance = Singleton8.INSTANCE;
  }
}
